package main

import "fmt"

func main() {
	var s1 = []int{1, 8, 9, 3, 2, 1}
	sum := 0
	for _, i2 := range s1 {
		sum += i2
	}
	fmt.Printf("和为%d", sum)

}
